lib/gpg: Provide the public key to the duplicate check
authorRobert McQueen <rob@endlessm.com>
Thu, 3 Aug 2017 09:54:33 +0000 (10:54 +0100)
committerAtomic Bot <atomic-devel@projectatomic.io>
Thu, 7 Sep 2017 19:56:31 +0000 (19:56 +0000)
commit59dff7175eb3f8befec1c5d7532a36d8d5633873
tree4b2ec8324e56ed5c5b4ccdb86c99e7e8257f8e5f
parent6b6408a7d0e3826a26e18529e13f88c5ce5912f4
lib/gpg: Provide the public key to the duplicate check

Add keys from the signing homedir to the GpgVerifier used to look
for duplicate signatures. This will allow signatures from subkeys
to be canonicalised and recognised as already signed despite the
differing key ID, avoiding duplicate signatures.

Closes: https://github.com/ostreedev/ostree/issues/608
Closes: #1092
Approved by: cgwalters
src/libostree/ostree-repo.c